package com.fast.user.common.constants;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author wangzun
 * TODO 中间件配置加载类
 * */
@Component
public class Parameters {
	/**redis config start*/
	@Value("${redis.node}")
	private String redisNode;
	@Value("${redis.auth}")
	private String redisAuth;
	/**redis config end*/
	
	/**zookeeper config start*/
	@Value("${zk.host}")
	private String zkHost;
	/**zookeeper config end*/

	public String getRedisNode() {
		return redisNode;
	}

	public void setRedisNode(String redisNode) {
		this.redisNode = redisNode;
	}

	public String getRedisAuth() {
		return redisAuth;
	}

	public void setRedisAuth(String redisAuth) {
		this.redisAuth = redisAuth;
	}

	public String getZkHost() {
		return zkHost;
	}

	public void setZkHost(String zkHost) {
		this.zkHost = zkHost;
	}
}
